package com.elsa.smart_buffet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.elsa.smart_buffet.pojo.Restaurant;
import com.elsa.smart_buffet.pojo.vo.SaleEchartsStats;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

@Mapper
public interface SaleEchartsMapper extends BaseMapper<SaleEchartsStats> {

    SaleEchartsStats getSaleEchartsStatsByDate(@Param("date") String date);

    SaleEchartsStats getSaleEchartsStatsByMonth(@Param("month") String month);

}
